<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
<link rel="stylesheet" href="__ADMIN__/css/admin.css">
<script src="__ADMIN__/js/jquery.js"></script>
<script src="__ADMIN__/js/pintuer.js"></script>


  <!--百度编辑器-->
  <script type="text/javascript" charset="utf-8" src="__UEDITOR__/ueditor.config.js"></script>
  <script type="text/javascript" charset="utf-8" src="__UEDITOR__/ueditor.all.min.js"> </script>
  <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
  <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
  <script type="text/javascript" charset="utf-8" src="__UEDITOR__/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加政务快讯</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="{:url('admin/jour/add')}" enctype="multipart/form-data">

      <div class="form-group">
        <div class="label">
          <label>快讯简介：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="" name="name"  placeholder="快讯简介不能超过15个字符"/>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>快讯内容：</label>
        </div>
        <div class="field">
          <!--<input type="text" class="input w50" value="" name="contents" />-->
          <textarea name="contents" id="myEditor" style="width:375px;height:600px;margin-left:100px;" type="text/plain" ></textarea>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>排序：</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="" name="orders" placeholder="用于快讯的排序 不能为负数"/>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>浏览次数：</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="" name="browse" placeholder="添加浏览次数 为整数"/>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>状态：</label>
        </div>
        <div class="field" style="padding-top:8px;">
          应用 <input name="status" value="1" checked="checked" type="radio" />
          禁用 <input name="status" value="2" type="radio" />
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>快讯图像：</label>
        </div>
        <div class="field">
          <input type="file" id="url1" name="pic" class="button bg-blue margin-left" style="width:25%; float:left;border-style:none;background-color: #0ae;"  data-toggle="hover" data-place="right" data-image="" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
<script type="text/javascript">
    var  ue=UE.getEditor('myEditor');
</script>

</body></html>
